Skip to main content

Interface ICallGateSubscriber<TRet>

This class facilitates inter-plugin communication.

Assembly: Dalamud.dll
View Source
Declaration
public interface ICallGateSubscriber<TRet>

Methods

Subscribe(Action)

Subscribe an expression to this registration.

View Source
Declaration
void Subscribe(Action action)
Parameters
TypeNameDescription
System.ActionactionAction to subscribe.

Unsubscribe(Action)

Unsubscribe an expression from this registration.

View Source
Declaration
void Unsubscribe(Action action)
Parameters
TypeNameDescription
System.ActionactionAction to unsubscribe.

InvokeAction()

Invoke an action registered for inter-plugin communication.

View Source
Declaration
void InvokeAction()
Exceptions

Dalamud.Plugin.Ipc.Exceptions.IpcNotReadyError
This is thrown when the IPC publisher has not registered an action for calling yet.

InvokeFunc()

Invoke a function registered for inter-plugin communication.

View Source
Declaration
TRet InvokeFunc()
Returns

<TRet>: The return value.

Exceptions

Dalamud.Plugin.Ipc.Exceptions.IpcNotReadyError
This is thrown when the IPC publisher has not registered a func for calling yet.